package com.wwwarehouse.taskcenter.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by clannad.shao on 2017/11/22.
 * Description:
 */

public class StorageRegistBean implements Parcelable{
    private String billType;
    private String businessNo;
    private String carNo;
    private String contactName;
    private String contactPhone;
    private long expressBrandUkid;
    private long ownerUkid;
    private long qty;
    private String registTime;
    private String unitName;
    private long unitUkid;

    public StorageRegistBean() {
    }


    protected StorageRegistBean(Parcel in) {
        billType = in.readString();
        businessNo = in.readString();
        carNo = in.readString();
        contactName = in.readString();
        contactPhone = in.readString();
        expressBrandUkid = in.readLong();
        ownerUkid = in.readLong();
        qty = in.readLong();
        registTime = in.readString();
        unitName = in.readString();
        unitUkid = in.readLong();
    }

    public static final Creator<StorageRegistBean> CREATOR = new Creator<StorageRegistBean>() {
        @Override
        public StorageRegistBean createFromParcel(Parcel in) {
            return new StorageRegistBean(in);
        }

        @Override
        public StorageRegistBean[] newArray(int size) {
            return new StorageRegistBean[size];
        }
    };

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getBillType() {
        return billType;
    }

    public void setBillType(String billType) {
        this.billType = billType;
    }

    public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public long getExpressBrandUkid() {
        return expressBrandUkid;
    }

    public void setExpressBrandUkid(long expressBrandUkid) {
        this.expressBrandUkid = expressBrandUkid;
    }

    public long getOwnerUkid() {
        return ownerUkid;
    }

    public void setOwnerUkid(long ownerUkid) {
        this.ownerUkid = ownerUkid;
    }

    public long getQty() {
        return qty;
    }

    public void setQty(long qty) {
        this.qty = qty;
    }

    public String getRegistTime() {
        return registTime;
    }

    public void setRegistTime(String registTime) {
        this.registTime = registTime;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public long getUnitUkid() {
        return unitUkid;
    }

    public void setUnitUkid(long unitUkid) {
        this.unitUkid = unitUkid;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(billType);
        dest.writeString(businessNo);
        dest.writeString(carNo);
        dest.writeString(contactName);
        dest.writeString(contactPhone);
        dest.writeLong(expressBrandUkid);
        dest.writeLong(ownerUkid);
        dest.writeLong(qty);
        dest.writeString(registTime);
        dest.writeString(unitName);
        dest.writeLong(unitUkid);
    }
}
